package com.manage.system.api.request.user;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author zhangqing
 * @version V1.0
 * @description 重置密码请求参数
 * @date 13/3/2021 8:39 PM
 */
@Data
public class ResetPasswordParam {
    @NotNull(message = "用户ID")
    @ApiModelProperty(value = "用户ID",required = true)
    private Long id;

    @NotEmpty(message = "密码不能为空")
    @ApiModelProperty(value = "密码",required = true)
    private String password;

    @NotEmpty(message = "租户不能为空")
    @ApiModelProperty(value = "租户code",required = true)
    private String tenantCode;
}
